import axios from '../axios'

/*
 * 修改密码
 */

export const update = data => {
  return axios({
    url: '/user/updatePassword',
    method: 'put',
    data
  })
}
